#!/usr/bin/env python

import  random
str1='abcdefghijklmnopqrstuvwxyz'
str2=[''.join([random.choice(str1) for i in range(2)]) for j in range(100)]
str3={n:str2.count(n) for n in str2}
str4=sorted(str3.items(),key=lambda  item: item[1],reverse=True)
print(str4)





# 完成的不错







